package com.ywk.pattern._13_builder;

public class PersonDirector {
    private PersonBuilder personBuilder;

    public PersonDirector(PersonBuilder personBuilder) {
        this.personBuilder = personBuilder;
    }

    public void CreatePerson() {
        personBuilder.builderHead();
        personBuilder.builderBody();
        personBuilder.builderArmLeft();
        personBuilder.builderArmRight();
        personBuilder.builderLegLeft();
        personBuilder.builderLegRight();


    }
}
